/**
 * 
 */
package org.cuatrovientos.methods;

/**
 * @author segoitz_guibert
 *
 */
public class Methods {
	/**
	 *Shows hello on console 
	 */
	public static void sayHello () {
		System.out.println("Say hello");
	}
	
	/**
	 * Shows something on console
	 * @param something
	 */
	public static void saySomething (String something) {
		System.out.println(something);
	}
	
	/**
	 * repeats something on console
	 * @param something
	 * @param times
	 */
	
	public static void repeatSomething (String something,int times){
		for (int i=0; i<times; i++) {
			Methods.saySomething(something);
		}
	}
	
/**
 * 	
 * @param a
 * @param b
 * @return the result
 */
public static int add (int a, int b){
	int result = 0;
	result= a + b;
	return result;
}
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		Methods.sayHello();
		Methods.saySomething("Valar Morguilis");
		Methods.repeatSomething("FAP",5);
		int [] numbers = new int[10];
		
		
		int x = 660;
		int theNumberOfTheBeast = 0;
		
		theNumberOfTheBeast = Methods.add(x, 6);
		
		System.out.println(Methods.add(335, -2));
		

		
		
		
		
	

	}

}
